@import "./_variables.less";
@import "./_mixins.less";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

html {
  font-size: vw(24);
  color: @color-gray;

  @media screen and (min-width: 577px) {
    font-size: 13px;
  }
}

body {
  width: 100%;
  min-width: 320px;
  margin: 0 auto;
  background: @color-bg;
  color: @color-black;
  padding-top: constant(safe-area-inset-top);
  padding-top: env(safe-area-inset-top);
  padding-bottom: constant(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom);
}
// @supports (bottom: constant(safe-area-inset-bottom)) or (bottom: env(safe-area-inset-bottom)) {
//   body {
//     margin-bottom: constant(safe-area-inset-bottom);
//     margin-bottom: env(safe-area-inset-bottom);
//   }
// }
img {
  max-width: 100%;
}

a {
  text-decoration: none;
}

::placeholder {
  color: @color-disabled;
}
